package com.example.stuSysbackend.service;

import com.example.stuSysbackend.domain.ApprovalRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author Cool
* @description 针对表【approval_records(审批表)】的数据库操作Service
* @createDate 2024-04-16 16:54:55
*/
public interface ApprovalRecordsService extends IService<ApprovalRecords> {
    void insert() throws IOException;
    String saveFile(MultipartFile file) throws IOException;
    ApprovalRecords saveApp(ApprovalRecords approvalRecords);
    List<ApprovalRecords> queryApproval(ApprovalRecords app);
    void update(ApprovalRecords app);
    void updateStatus1(Integer id);
    void updateStatus2(Integer id);
    void updateBack(Integer id);
    ApprovalRecords selectById(Integer id);
    void deleteById(Integer id);
}
